export default defineNuxtPlugin((nuxtApp) => {
  const timer = null;
  nuxtApp.provide("getTimer", (duration: number, callback: Function) => {
    timer.value = setInterval(callback, duration);
  });
});
